Vcenter VmTemplate LibraryItems DeploySpecVmHomeStorage

Vcenter VmTemplate LibraryItems DeploySpecVmHomeStorage
Vcenter VmTemplate LibraryItems DeploySpecVmHomeStorage

The Vcenter VmTemplate LibraryItems DeploySpecVmHomeStorage schema defines the storage specification for a deployed virtual machine's configuration and log files.

This schema was added in vSphere API 6.8.

JSON Example
{
    "datastore": "string",
    "storage_policy": {
        "type": "string",
        "policy": "string"
    }
}
string
datastore
Optional

Identifier of the datastore for the deployed virtual machine's configuration and log files.

This property was added in vSphere API 6.8.

This property is currently required.

When storage_policy is also specified and is incompatible with the datastore, then the deployed virtual machine will be flagged as being out of compliance with the specified storage policy.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: Datastore. When operations return a value of this schema as a response, the property will be an identifier for the resource type: Datastore.

storage_policy
Optional

Storage policy for the deployed virtual machine's configuration and log files.

This property was added in vSphere API 6.8.

If missing or null, datastore must be specified and the deployed virtual machine's configuration and log files are created with the default storage policy associated with the datastore.